import { defineStore } from "pinia";
const useToolTabStore = defineStore('toolTab', {
  state: () => ({
    isSearch: false,
    isRanging: false,
    isWaring: false,
    isFlyPlan: false,
    isTodatWaring: false,
    isTodatSorties: false,
  }),
  actions: {
    changeSearch() {
      this.isSearch = !this.isSearch
    },
    changeWarning() {
      this.isTodatWaring = !this.isTodatWaring
    },
    changeSorties() {
      this.isTodatSorties = !this.isTodatSorties
    }
  }

})

export default useToolTabStore;